'''
Created on Feb 22, 2013

@author: Artur
'''

n = 0
for _ in range(10):
    for _ in range(6):
        
        print('{:0>16b}'.format(n))
        n += 7